<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app id="WebApp">
	<display-name>MSWeb</display-name>

	<context-param>
		<param-name>defaultLogLevel</param-name>
		<!--  5 for LOG_LEVEL_INFO,  for production -->
		<!-- 25 for LOG_LEVEL_TRACE, for development -->
		<param-value>25</param-value>
		<description>Default Log Level</description>
	</context-param> 
	
	   <context-param>
	     <param-name>fontPath</param-name>
	     <param-value>/WEB-INF/fonts</param-value>
	     <description>a folder to store true type fonts</description>
	   </context-param>
	   
	   <context-param>
	     <param-name>shipmarkImagePath</param-name>
	     <param-value>/images</param-value>
	     <description>a folder to store shipmark images</description>
	   </context-param>	   
	
		<servlet>
			<servlet-name>action</servlet-name>
			<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
			<init-param>
				<param-name>config</param-name>
				<param-value>/WEB-INF/struts-config.xml</param-value>
			</init-param>

			<init-param>
				<param-name>application</param-name>
				<param-value>com.erp.common.ApplicationResources</param-value>
			</init-param>

			<init-param>
				<param-name>debug</param-name>
				<param-value>2</param-value>
			</init-param>
			<init-param>
				<param-name>detail</param-name>
				<param-value>3</param-value>
			</init-param>
			<load-on-startup>2</load-on-startup>
		</servlet>
		<servlet>
			<servlet-name>viewImage</servlet-name>
			<servlet-class>com.erp.app.servlet.web.ViewImageServlet</servlet-class>
		</servlet>
		
		<servlet>
			<servlet-name>docAttach</servlet-name>
			<servlet-class>com.erp.app.servlet.web.DocAttachServlet</servlet-class>
		</servlet>
		
		
		<servlet>
			<servlet-name>menuIcon</servlet-name>
			<servlet-class>com.erp.app.servlet.web.MenuIconServlet</servlet-class>
		</servlet>
	
		<servlet-mapping>
			<servlet-name>action</servlet-name>
			<url-pattern>*.do</url-pattern>
		</servlet-mapping>
	
		<servlet-mapping>
			<servlet-name>menuIcon</servlet-name>
			<url-pattern>/menuIcon/*</url-pattern>
		</servlet-mapping>
	
		<servlet-mapping>
			<servlet-name>viewImage</servlet-name>
			<url-pattern>/viewImage/*</url-pattern>
		</servlet-mapping>
		
		<servlet-mapping>
			<servlet-name>docAttach</servlet-name>
			<url-pattern>/docAttach/*</url-pattern>
		</servlet-mapping>
		
		
		<welcome-file-list>
			<welcome-file>index.html</welcome-file>
			<welcome-file>index.htm</welcome-file>
			<welcome-file>index.jsp</welcome-file>
			<welcome-file>default.html</welcome-file>
			<welcome-file>default.htm</welcome-file>
			<welcome-file>default.jsp</welcome-file>
		</welcome-file-list>
		<taglib>
			<taglib-uri>/WEB-INF/tlds/struts-bean.tld</taglib-uri>
			<taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/WEB-INF/tlds/struts-html.tld</taglib-uri>
			<taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/WEB-INF/tlds/struts-logic.tld</taglib-uri>
			<taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/WEB-INF/tlds/struts-template.tld</taglib-uri>
			<taglib-location>/WEB-INF/tlds/struts-template.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/WEB-INF/tlds/custom-html.tld</taglib-uri>
			<taglib-location>/WEB-INF/tlds/custom-html.tld</taglib-location>
		</taglib>
	
		<resource-ref id="ResourceRef_1">
			<description></description>
			<res-ref-name>jdbc/MSDS</res-ref-name>
			<res-type>javax.sql.DataSource</res-type>
			<res-auth>Container</res-auth>
		</resource-ref>
</web-app>
